package si.yun.entity;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import java.io.Serializable;
import java.util.Date;
/** 
 * @Author Cxc 
 * @Author QQ:1304793236 
 * @Date 2021-08-03 18:53:37 
 */
@Entity
@Table ( name ="sy_product_categroy" )
public class SyProductCategroy  implements Serializable {

	private static final long serialVersionUID =  8301648670101691033L;

	/**
	 * 商品分类id
	 */
   	@Column(name = "category_id" )
	private Long categoryId;

	/**
	 * 上级分类id
	 */
   	@Column(name = "parent_id" )
	private Long parentId;

	/**
	 * 排序
	 */
   	@Column(name = "sort" )
	private Long sort;

	/**
	 * 分类名称
	 */
   	@Column(name = "categroy_name" )
	private String categroyName;

	/**
	 * 状态(1正常，2禁用)
	 */
   	@Column(name = "categroy_state" )
	private Long categroyState;

	/**
	 * 创建人
	 */
   	@Column(name = "create_user" )
	private Long createUser;

	/**
	 * 创建时间
	 */
   	@Column(name = "create_date" )
	private Date createDate;

	/**
	 * 更新人
	 */
   	@Column(name = "update_user" )
	private Long updateUser;

	/**
	 * 更新时间
	 */
   	@Column(name = "update_date" )
	private Date updateDate;

  public Long getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(Long categoryId) {
    this.categoryId = categoryId;
  }


  public Long getParentId() {
    return parentId;
  }

  public void setParentId(Long parentId) {
    this.parentId = parentId;
  }


  public Long getSort() {
    return sort;
  }

  public void setSort(Long sort) {
    this.sort = sort;
  }


  public String getCategroyName() {
    return categroyName;
  }

  public void setCategroyName(String categroyName) {
    this.categroyName = categroyName;
  }


  public Long getCategroyState() {
    return categroyState;
  }

  public void setCategroyState(Long categroyState) {
    this.categroyState = categroyState;
  }


  public Long getCreateUser() {
    return createUser;
  }

  public void setCreateUser(Long createUser) {
    this.createUser = createUser;
  }


  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }


  public Long getUpdateUser() {
    return updateUser;
  }

  public void setUpdateUser(Long updateUser) {
    this.updateUser = updateUser;
  }


  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

}
